photo

Vilém Frynta


CTU FBME

Con actividad desde 2022

Followers: 0   Following: 0

Mensaje

MATLAB enthusiast

Programming Languages:
MATLAB
Spoken Languages:
English
Pronouns:
No pronouns - Use my name only
Professional Interests:
Biomedical Engineering, Medical Devices

Estadística

All
  • 6 Month Streak
  • Knowledgeable Level 4
  • Solver
  • Thankful Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
write table on screen
I'd use table, where you can store all the info on your picture. In MATLAB, you can convert most of the information from one dat...

más de 1 año hace | 1

Respondida
Assign array in field struct
Sis = struct(); Sis.b = 1:82' Sis.b(1) Sis.b(10) Hope this helps.

más de 1 año hace | 0

Respondida
Variable updated in for loop iteration
I tested your code and revenue and budget_i were being updated. I have no idea what the purpose of your script is, and thus I d...

más de 1 año hace | 0

| aceptada

Respondida
How to further extract a match values from a regexp match
If you use 'tokens' instead of match. string = 'hello_2_goodbye_0.23_hi_1.55_exit_1000'; pattern = 'hello_(\d+\.*\d*)'; mat...

más de 1 año hace | 0

| aceptada

Respondida
Set matrix element to zero for some condition
Hi, my approach would be as follows: % Matrix 5x5 with random numbers 0-10 M = randi(10, 5) % Create logical vector of numbe...

más de 1 año hace | 0

| aceptada

Respondida
How can I restrict a parameter (turbulence intensity) to only positive values?
hi, i took a peek at your code and it's massive. therefore i came just to say that if you have a value, where you only want the...

más de 1 año hace | 0

| aceptada

Respondida
Unique name detection in table headers
Hello, I extracted all your data from last columns, which is 300 numbers. And because I knew that every table contains 10 value...

más de 1 año hace | 0

Respondida
Using zip('test', 'data.txt') Cannot open file "data.txt" for reading
Hi, just an idea: since you are using a new computer, there may be a possibility that you do not have accurately described path ...

más de 1 año hace | 0

| aceptada

Respondida
Why this for loop showing this error?
I have tried your code and it seems like your for loop isn't triggered at all. Which means, none of the calculations happen and ...

más de 1 año hace | 0

Respondida
how to merge / unite / connect two curves smoothly if there is missing data in betwwen?
Hello, you have to interpolate the data. After interpolation you will know what the approximate values are at the place where y...

más de 1 año hace | 1

| aceptada

Respondida
why is my code is not working?
You cannot use special symbols for variables. You can only use numbers letters underscore ( _ ) Rename your variable.

más de 1 año hace | 0

Respondida
bug in multiplication operations
There's probably a small error due to number being represented by bits. Number is too long and detailed, and Matlab is having a ...

más de 1 año hace | 2

Respondida
How to this convert matlab code to python code?
This requires knowledge of both languages. If you don't know Python, and have nobody to help you, you can try AI. I've prompted...

más de 1 año hace | 0

Respondida
how to sine wave plot
Hello, I'm sorry to tell you but Mathworks Answers is not a homework service. We do believe that it's best for you to try on yo...

más de 1 año hace | 0

Respondida
where is the error in this code?
In computer programming, when dealing with floating-point numbers, there can be slight differences in how these numbers are repr...

más de 1 año hace | 0

Respondida
Getting all values in the same field for different entries within a structure
Try arrayfun (use function on the struct to extract the values into the array). An example on your data: % Your data student(...

más de 1 año hace | 1

| aceptada

Respondida
First number in foor loop
Hello, you already know the whole vector h. If you want it's first value, you can keep saving the h value into a vector, and th...

más de 1 año hace | 0

Respondida
Problems with loops in matrix operations
To fix this, you need to transpose the 16x1 vector from matrix1 so that it becomes a 1x16 row vector. This way, when you multipl...

más de 1 año hace | 0

Respondida
Subsetting an n-d array with no loop
Could this work for you? It may be too "sample specific" instead working for every example. This script generates a 4D array A ...

más de 1 año hace | 0

| aceptada

Respondida
How to obtain argument value of an equation
My approach: f = @(x) x^2; % function example [max_val, max_idx] = fminbnd(@(x) -f(x), -10, 10); % find maximum value of th...

más de 1 año hace | 0

Respondida
MATLAB 2023a: How to assign multiple values(keys?) to one key using dictionaries?
I think you could approach this via structures, which make sense to me. There's also something called map containers, however I ...

más de 1 año hace | 1

| aceptada

Respondida
summation of matrix function
this looks like homework. i'll try to guide you, but be aware that you won't learn anything by letting others do your homework ...

más de 1 año hace | 0

Respondida
How to select a value from a vector that satisfies certain conditions
% Your vectors lower_bound = [1 2 3 4 5 1 2 3 4 5 1 2 3 4 5]; upper_bound = [2 3 4 5 6 2 3 4 5 6 2 3 4 5 6]; vec = [1 2 3 4 5...

más de 1 año hace | 0

| aceptada

Respondida
How I can find a specific word in a notepad text?
I have created and attached a file with Lorem Ipsum text as an example. Now, I will try to show you how to find word 'ipsum' an...

más de 1 año hace | 1

Respondida
finding the transformation vector?
A = [1 2 2 3 3 3 4 4 4 4]; B = [4 1 4 4 1 1 2 4 6 5]; x = B./A

más de 1 año hace | 0

Respondida
How to combine two tables using sorted common variable?
hi, i will try. it definitely can be more automated, i made it semi-automated, but it works! hope i helped! well, i tried. Ste...

más de 1 año hace | 0

Respondida
Somebody help me on how to solve the question i have asked just below the file below
hello, quite bold of you to straight up post screenshot of your homework assigment. while your homework seems to be simple, we...

más de 1 año hace | 0

| aceptada

Respondida
How to average a dense set of data using desired resolution
hey, what you could do is as follows. to simplify this, let's assume that the length of the data is 1000. divide your data, on...

casi 2 años hace | 1

| aceptada

Respondida
call one code as a function in another code
hey, if you want to use your script as a function, you need few things. it seems like you are not familiar with creating funct...

casi 2 años hace | 1

Respondida
Excel Data import based on title cell.
After you read the table, you could simply search for the consistent names in your row. Then, you could specify which columns yo...

casi 2 años hace | 0

| aceptada

Cargar más