photo

Vilém Frynta


CTU FBME

Active since 2022

Followers: 0   Following: 0

Message

MATLAB enthusiast

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

Statistics

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

View badges

Feeds

View by

Answered
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...

11 månader ago | 1

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

11 månader ago | 0

Answered
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...

11 månader ago | 0

| accepted

Answered
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...

12 månader ago | 0

| accepted

Answered
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...

12 månader ago | 0

| accepted

Answered
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...

ungefär ett år ago | 0

| accepted

Answered
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...

ungefär ett år ago | 0

Answered
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 ...

ungefär ett år ago | 0

| accepted

Answered
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 ...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 1

| accepted

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

ungefär ett år ago | 0

Answered
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 ...

ungefär ett år ago | 2

Answered
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...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

Answered
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(...

ungefär ett år ago | 1

| accepted

Answered
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...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

Answered
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 ...

ungefär ett år ago | 0

| accepted

Answered
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...

ungefär ett år ago | 0

Answered
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 ...

ungefär ett år ago | 1

| accepted

Answered
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 ...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

| accepted

Answered
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...

ungefär ett år ago | 1

Answered
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

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

Answered
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...

ungefär ett år ago | 0

| accepted

Answered
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...

ungefär ett år ago | 1

| accepted

Answered
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...

ungefär ett år ago | 1

Answered
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...

ungefär ett år ago | 0

| accepted

Load more